#include<stdio.h>
int sum1(int a,int b)
{
	int result=0;
	for(int i=a;i<=b;i++)
	{
		result+=i;
	}
	return result;
}

int main()
{
	int start=0;
	int end=100;
	int sum=sum1(start,end);
	printf("和是%d\n",sum);
	return 0;
}
